﻿using CraftParameterConfig.Infrastructure.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CraftParameterConfig.Domain.Entity
{
    public class TableDataConfig:EntityBase
    {
        public Guid MainID { get; set; }
        public string Name { get; set; }
        public ValueDataType DataType { get; set; }
        public bool NeedBaseValue { get; set; }
        public bool NeedLHValue { get; set; }
        public bool NeedLLHHValue { get; set; }
        public int Order_Index { get; set; }
        public TableDataConfig()
        { }
        public TableDataConfig(Guid mainId, string name, ValueDataType dataType, bool needBaseValue, bool needLH, bool needLH2, int orderIndex)
        {
            MainID = mainId;
            Name = name;
            DataType = dataType;
            NeedBaseValue = needBaseValue;
            NeedLHValue = needLH;
            NeedLLHHValue = needLH2;
            Order_Index = orderIndex;
        }
    }
}
